package com.example.myapplication.net.bean.response

import java.util.*


class LoginBean {

    class UserInfo {
        var id: Int = 0
        var username: String? = null
        var name: String? = null
        var sex = 0
        var job: String? = null
        var mobile: String? = null
        var email: String? = null
        var loginTime: Date? = null
        override fun toString(): String {
            return "UserInfo(id=$id, username=$username, name=$name, sex=$sex, job=$job, mobile=$mobile, email=$email, loginTime=$loginTime)"
        }
    }
    var userInfo: UserInfo? = null
    var mag :Int = 0
    var token: String? = null
    override fun toString(): String {
        return "LoginBean(userInfo=$userInfo, mag=$mag, token=$token)"
    }
}